<template>
    <div id="BMessage">
      <div class="confirmShade">

      </div>
        <transition name='fade'>
            <div v-if="show" class="bmessage-container">
                <span>{{ message }}</span>
            </div>
        </transition>
    </div>
</template>

<script>

export default {
    /* eslint-disable */
    name: 'BMessage',
    data() {
        return {
            show: false,
            message: ''
        }
    }
    /* eslint-enable */
}
</script>

<style>
#BMessage {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
}
#BMessage .bmessage-container {
    display: block;
    align-items: center;
    /*width: 6rem;*/
    /*min-height: 3rem;*/
    padding: 7px 15px;
    border-radius: 15px;
    background-color: rgba(0,0,0,.6);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
#BMessage .bmessage-container span {
    width: 100%;
    color: #EEE;
}

.fade-enter-active, .fade-leave-active {
    transition: all ease .3s;
}

.fade-enter, .fade-leave-active {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
}

</style>
